-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Relation exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


relationentry : SelectionSet decodesTo Qore.Object.Relationentry -> SelectionSet (List decodesTo) Qore.Object.Relation
relationentry object_ =
    Object.selectionForCompositeField "relationentry" [] object_ (identity >> Decode.list)


objectxmlwrap : SelectionSet decodesTo Qore.Object.Objectxmlwrap -> SelectionSet (Maybe decodesTo) Qore.Object.Relation
objectxmlwrap object_ =
    Object.selectionForCompositeField "objectxmlwrap" [] object_ (identity >> Decode.nullable)


relationoption : SelectionSet decodesTo Qore.Union.RelationoptionUnion -> SelectionSet (Maybe decodesTo) Qore.Object.Relation
relationoption object_ =
    Object.selectionForCompositeField "relationoption" [] object_ (identity >> Decode.nullable)


geogname : SelectionSet decodesTo Qore.Object.Geogname -> SelectionSet (Maybe decodesTo) Qore.Object.Relation
geogname object_ =
    Object.selectionForCompositeField "geogname" [] object_ (identity >> Decode.nullable)


descriptivenote : SelectionSet decodesTo Qore.Object.Descriptivenote -> SelectionSet (Maybe decodesTo) Qore.Object.Relation
descriptivenote object_ =
    Object.selectionForCompositeField "descriptivenote" [] object_ (identity >> Decode.nullable)


id : SelectionSet (Maybe String) Qore.Object.Relation
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Relation
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Relation
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Relation
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Relation
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)


encodinganalog : SelectionSet (Maybe String) Qore.Object.Relation
encodinganalog =
    Object.selectionForField "(Maybe String)" "encodinganalog" [] (Decode.string |> Decode.nullable)


relationtype : SelectionSet String Qore.Object.Relation
relationtype =
    Object.selectionForField "String" "relationtype" [] Decode.string


otherrelationtype : SelectionSet (Maybe String) Qore.Object.Relation
otherrelationtype =
    Object.selectionForField "(Maybe String)" "otherrelationtype" [] (Decode.string |> Decode.nullable)


lastdatetimeverified : SelectionSet (Maybe String) Qore.Object.Relation
lastdatetimeverified =
    Object.selectionForField "(Maybe String)" "lastdatetimeverified" [] (Decode.string |> Decode.nullable)


href : SelectionSet (Maybe String) Qore.Object.Relation
href =
    Object.selectionForField "(Maybe String)" "href" [] (Decode.string |> Decode.nullable)


linkrole : SelectionSet (Maybe String) Qore.Object.Relation
linkrole =
    Object.selectionForField "(Maybe String)" "linkrole" [] (Decode.string |> Decode.nullable)


arcrole : SelectionSet (Maybe String) Qore.Object.Relation
arcrole =
    Object.selectionForField "(Maybe String)" "arcrole" [] (Decode.string |> Decode.nullable)


linktitle : SelectionSet (Maybe String) Qore.Object.Relation
linktitle =
    Object.selectionForField "(Maybe String)" "linktitle" [] (Decode.string |> Decode.nullable)


show : SelectionSet (Maybe String) Qore.Object.Relation
show =
    Object.selectionForField "(Maybe String)" "show" [] (Decode.string |> Decode.nullable)


actuate : SelectionSet (Maybe String) Qore.Object.Relation
actuate =
    Object.selectionForField "(Maybe String)" "actuate" [] (Decode.string |> Decode.nullable)
